package com.etc.entity;

public class Users {
	private int userId;
	private String userName;
	private String userpwd;
	private int userStatus;//用户状态 0禁用 1启用
	private int userLevel;//用户等级    1 普通用户     2管理员 
	private String userImg;
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserpwd() {
		return userpwd;
	}
	public void setUserpwd(String userpwd) {
		this.userpwd = userpwd;
	}
	public int getUserStatus() {
		return userStatus;
	}
	public void setUserStatus(int userStatus) {
		this.userStatus = userStatus;
	}
	public int getUserLevel() {
		return userLevel;
	}
	public void setUserLevel(int userLevel) {
		this.userLevel = userLevel;
	}
	public Users(int userId, String userName, String userpwd, int userStatus, int userLevel) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userpwd = userpwd;
		this.userStatus = userStatus;
		this.userLevel = userLevel;
	}
	@Override
	public String toString() {
		return "User [userId=" + userId + ", userName=" + userName + ", userpwd=" + userpwd + ", userStatus="
				+ userStatus + ", userLevel=" + userLevel + "]";
	}
	public Users() {
		// TODO Auto-generated constructor stub
	}
	public Users(String userName, String userpwd, int userStatus, int userLevel) {
		super();
		this.userName = userName;
		this.userpwd = userpwd;
		this.userStatus = userStatus;
		this.userLevel = userLevel;
	}

	public String getUserImg() {
		return userImg;
	}
	public void setUserImg(String userImg) {
		this.userImg = userImg;
	}
	public Users(String userName, String userpwd, int userStatus, int userLevel, String userImg) {
		super();
		this.userName = userName;
		this.userpwd = userpwd;
		this.userStatus = userStatus;
		this.userLevel = userLevel;
		this.userImg = userImg;
	}
	public Users(int userId, String userName, String userpwd, int userStatus, int userLevel, String userImg) {
		super();
		this.userId = userId;
		this.userName = userName;
		this.userpwd = userpwd;
		this.userStatus = userStatus;
		this.userLevel = userLevel;
		this.userImg = userImg;
	}


	
}
